<%@ page import="cn.gudian.cms.GuestBook.GuestBook" %>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>古滇科技</title>
   <link rel="stylesheet" type="text/css" href="/css/admin/css-min.css"/>
   <script>
   	function check(){
		if(document.getElementById("contact").value=="" || document.getElementById("content").value==""){
			alert("联系方式描述不能为空");
			return false;
		}
		return true;
	}
   </script>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="body">
      <tr>
        <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" id="zhengweng">
          <tr>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="50" align="left"><img src="/images/admin/tongji.gif" alt="" width="16" height="16" /></td>
                <td align="left">网站访问量(查询密码：13579)：<script type="text/javascript" src="/js/stat-min.js"></script>&nbsp;&nbsp;&nbsp;&nbsp;</td>
              </tr>
            </table></td>
          </tr>
          
           <tr>
            <td height="30">&nbsp;</td>
          </tr>
        
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_border">
                    <tr>
                      <td height="30" align="left" background="/images/admin/jinbian.jpg">&nbsp;&nbsp;>>&nbsp;&nbsp;留言反馈&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;你还<a href="/guestBook/list">有<font color="#CC0000">${GuestBook.countByAudit(false)}</font></a>有条留言没有处理。</td>
                    </tr>
                    <tr>
                      <td height="1" bgcolor="#FFFFFF"><img src="/images/admin/zwf.gif" width="1" height="1" /></td>
                    </tr>
                    <%
                      def guestBookList=GuestBook.list(max:3,sort:"id",order:"desc")
                    %>
                    <g:each in="${guestBookList}" status="i" var="guestBookInstance">
                    <tr>
                      <td bgcolor="#F8FCFE" style="padding:10px;"><a href="/guestBook/edit/${guestBookInstance?.id}">${fieldValue(bean: guestBookInstance, field: "name")}<gd:formatBoolean boolean="${guestBookInstance.audit}" true="&nbsp;" false="['未审核']" />:${fieldValue(bean: guestBookInstance, field: "contact")}&nbsp;&nbsp;&nbsp;&nbsp;${fieldValue(bean: guestBookInstance, field: "subTime")}</a></td>
                    </tr>
                      </g:each>
                   
            </table></td>
          </tr>
          
           <tr>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_border">
                    <tr>
                      <td height="30" align="left" background="/images/admin/jinbian.jpg">&nbsp;&nbsp;>>&nbsp;&nbsp;后台功能及建议反馈</td>
                    </tr>
                    <tr>
                      <td height="1" bgcolor="#FFFFFF"><img src="/images/admin/zwf.gif" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td bgcolor="#F8FCFE" style="padding:10px;">
                      <iframe src="/c/backGuest" width="100%" height="200px" frameborder="0"></iframe>
                    </td>
                    </tr>
            </table></td>
          </tr>
          <tr>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_border">
                    <tr>
                      <td height="30" align="left" background="/images/admin/jinbian.jpg">&nbsp;&nbsp;&nbsp;&nbsp;古滇动态:&nbsp;&nbsp;<script src="http://www.gudkj.com/c/gudNews"></script></td>
                    </tr>
                  
            </table></td>
          </tr>
          
       <tr>
            <td height="30">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
    </table>
</body>
</html>